package indi.juzhuohan.chatroom.entity;

import java.io.Serializable;
import java.util.List;
/**
 * 传输信息封装
 * @author 鞠卓瀚
 */
public class TransferInfo implements Serializable{

	private static final long serialVersionUID = 5364671132773854772L;
//	账号密码
	private String userName;
	private String password;
//	聊天消息
	private List<FontStyle> content;
//	系统消息
	private String notice;
//	登录成功标志
	private Boolean loginSucceessFlag = false;
//	消息类型 枚举
	private ChatStatus statusEnum;
//	发送人
	private String sender;
//	接收人
	private String reciver;
//	在线用户列表
	private String[] userOnlineArray;
	
	public String getSender() {
		return sender;
	}
	public void setSender(String sender) {
		this.sender = sender;
	}
	public String getReciver() {
		return reciver;
	}
	public void setReciver(String reciver) {
		this.reciver = reciver;
	}
	
	public List<FontStyle> getContent() {
		return content;
	}
	public void setContent(List<FontStyle> content) {
		this.content = content;
	}
	public String[] getUserOnlineArray() {
		return userOnlineArray;
	}
	public void setUserOnlineArray(String[] userOnlineArray) {
		this.userOnlineArray = userOnlineArray;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getNotice() {
		return notice;
	}
	public void setNotice(String notice) {
		this.notice = notice;
	}
	public Boolean getLoginSucceessFlag() {
		return loginSucceessFlag;
	}
	public void setLoginSucceessFlag(Boolean loginSucceessFlag) {
		this.loginSucceessFlag = loginSucceessFlag;
	}
	public ChatStatus getStatusEnum() {
		return statusEnum;
	}
	public void setStatusEnum(ChatStatus statusEnum) {
		this.statusEnum = statusEnum;
	}
}
